let arr = [2, 4, 7, 3, 1, 6, 5]
arr.sort((a, b) => {
    return b - a
})
console.log(arr);
